cmake_minimum_required(VERSION 3.4.1)  # for example
add_library( my_native

             # Sets the library as a shared library.
             SHARED

             #指定C代码目录
             ../ios/Classes/my_native.cpp
)